package top.wardyan.wmes.rfid.kqa.dto;

import java.time.LocalDateTime;

/**
 * @author lcf
 * @CreateTime 2022/1/18 15:17
 * @Description
 */
public class DeviceCmdListDto {

    /** 设备指令ID **/
    private Integer deviceCmdID;

    /** 指令类型 0-控制器指令 1-终端机指令 **/
    private Integer cmdType;

    /** 控制器组号 **/
    private Integer gid;

    /** 终端机编号 **/
    private Integer did;

    /** 指令编号  **/
    private Integer cmdNumber;

    /** 指令内容 **/
    private String cmdContent;

    /** 设备命令生成时间 **/
    private LocalDateTime cmdMakeTime;

    /** 指令重试次数 **/
    private Integer retryTimes;

    /** 最后执行时间 **/
    private LocalDateTime cmdLastExecuteTime;

    /** 站点id **/
    private Integer stationID;

	public Integer getDeviceCmdID() {
		return deviceCmdID;
	}

	public DeviceCmdListDto setDeviceCmdID(Integer deviceCmdID) {
		this.deviceCmdID = deviceCmdID;
		return this;
	}

	public Integer getCmdType() {
		return cmdType;
	}

	public DeviceCmdListDto setCmdType(Integer cmdType) {
		this.cmdType = cmdType;
		return this;
	}

	public Integer getGid() {
		return gid;
	}

	public DeviceCmdListDto setGid(Integer gid) {
		this.gid = gid;
		return this;
	}

	public Integer getDid() {
		return did;
	}

	public DeviceCmdListDto setDid(Integer did) {
		this.did = did;
		return this;
	}

	public Integer getCmdNumber() {
		return cmdNumber;
	}

	public DeviceCmdListDto setCmdNumber(Integer cmdNumber) {
		this.cmdNumber = cmdNumber;
		return this;
	}

	public String getCmdContent() {
		return cmdContent;
	}

	public DeviceCmdListDto setCmdContent(String cmdContent) {
		this.cmdContent = cmdContent;
		return this;
	}

	public LocalDateTime getCmdMakeTime() {
		return cmdMakeTime;
	}

	public DeviceCmdListDto setCmdMakeTime(LocalDateTime cmdMakeTime) {
		this.cmdMakeTime = cmdMakeTime;
		return this;
	}

	public Integer getRetryTimes() {
		return retryTimes;
	}

	public DeviceCmdListDto setRetryTimes(Integer retryTimes) {
		this.retryTimes = retryTimes;
		return this;
	}

	public LocalDateTime getCmdLastExecuteTime() {
		return cmdLastExecuteTime;
	}

	public DeviceCmdListDto setCmdLastExecuteTime(LocalDateTime cmdLastExecuteTime) {
		this.cmdLastExecuteTime = cmdLastExecuteTime;
		return this;
	}

	public Integer getStationID() {
		return stationID;
	}

	public DeviceCmdListDto setStationID(Integer stationID) {
		this.stationID = stationID;
		return this;
	}
}
